<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head>
        <title>选择学习进度</title>
    </h:head>
    <h:body>
        <br/>
        <br/>
        <br/>
        <br/>
         <h:form>
            <h:outputLabel value="年级"/>
            <h:selectOneMenu value="#{initKnowledgeFront.major}" >
                <f:selectItems value="#{initKnowledgeFront.majorItems}"/>
                <f:ajax render="subject"/>
            </h:selectOneMenu>
            <h:outputLabel  value="课程" />
            <h:selectOneMenu id="subject" value="#{initKnowledgeFront.subject}">
                <f:selectItems value="#{initKnowledgeFront.subjectItems}"/>
                <f:ajax render="knowledge"/>
            </h:selectOneMenu>
            <h:outputLabel  value="知识点" />
            <h:selectOneMenu id="knowledge" value="#{initKnowledgeFront.knowledge}">
                <f:selectItems value="#{initKnowledgeFront.knowledgeItems}"/>
            </h:selectOneMenu>
           
        </h:form>
    </h:body>
</html>

